package com.top10.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author su
 * @since 2018-10-14
 */
@TableName("tb_goods_class_goods")
public class GoodsClassGoods extends Model<GoodsClassGoods> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	private String uuid;
	@TableField("goods_uuid")
	private String goodsUuid;
	@TableField("goods_class_uuid")
	private String goodsClassUuid;
	private Boolean isdeleted;
	private String creator;
	private String mender;
	private Date createtime;
	private Date updatetime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getGoodsUuid() {
		return goodsUuid;
	}

	public void setGoodsUuid(String goodsUuid) {
		this.goodsUuid = goodsUuid;
	}

	public String getGoodsClassUuid() {
		return goodsClassUuid;
	}

	public void setGoodsClassUuid(String goodsClassUuid) {
		this.goodsClassUuid = goodsClassUuid;
	}

	public Boolean getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Boolean isdeleted) {
		this.isdeleted = isdeleted;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getMender() {
		return mender;
	}

	public void setMender(String mender) {
		this.mender = mender;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "GoodsClassGoods{" +
			", id=" + id +
			", uuid=" + uuid +
			", goodsUuid=" + goodsUuid +
			", goodsClassUuid=" + goodsClassUuid +
			", isdeleted=" + isdeleted +
			", creator=" + creator +
			", mender=" + mender +
			", createtime=" + createtime +
			", updatetime=" + updatetime +
			"}";
	}
}
